package com.liqw.spi.initializer;

import com.liqw.Constant;
import lombok.extern.slf4j.Slf4j;
import org.springframework.context.ApplicationContextInitializer;
import org.springframework.context.ConfigurableApplicationContext;

// ======================== 初始化程序 ========================
@Slf4j
public class CustomContextInitializer implements ApplicationContextInitializer<ConfigurableApplicationContext> {

    @Override
    public void initialize(ConfigurableApplicationContext applicationContext) {
        System.out.println(Constant.getStepStr("CustomContextInitializer.initialize", Constant.MODE_SPI) + "CustomContextInitializer - initialize");
    }
}